import { NgModule }      from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule }    from '@angular/forms';
import { HttpModule }    from '@angular/http';
import {InputTextModule} from 'primeng/primeng';
import {PasswordModule} from 'primeng/primeng';
import {ButtonModule} from 'primeng/primeng';
import {CheckboxModule} from 'primeng/primeng';
/* App Root */
import { AdminComponent } from './admin.component';

/* routing */
import {AdminService} from "./admin.service";
import {AdminRouting} from "./admin.routing";

@NgModule({
    imports: [
        BrowserModule,
        FormsModule,
        HttpModule,
        AdminRouting,
        InputTextModule,
        PasswordModule,
        ButtonModule,
        CheckboxModule
    ],
    declarations: [
        AdminComponent,
    ],
    providers: [
        AdminService
    ]
})

export class AdminModule {
}
